package com.aijia.custom.product.http;


import com.google.gson.Gson;

public class Batch {
	private String token = "";
	private Command command;

	public static Batch build() {
		return new Batch();
	}

	public Batch addCommand(Command command) {
		this.setCommand(command);
		return this;
	}

	public Command getCommand() {
		return command;
	}

	public void setCommand(Command command) {
		this.command = command;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String toJson() {
		Gson gson = new Gson();
		return gson.toJson(this);
	}

}
